package com.bdqn.membersystem.servicce.impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.bdqn.membersystem.mapper.GoodsPackMapper;
import java.util.List;
import com.bdqn.membersystem.pojo.GoodsPack;
import com.bdqn.membersystem.servicce.GoodsPackService;
@Service
public class GoodsPackServiceImpl implements GoodsPackService{

    @Resource
    private GoodsPackMapper goodsPackMapper;

    @Override
    public int deleteByPrimaryKey(Long id) {
        return goodsPackMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insertSelective(GoodsPack record) {
        return goodsPackMapper.insertSelective(record);
    }

    @Override
    public GoodsPack selectByPrimaryKey(Long id) {
        return goodsPackMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(GoodsPack record) {
        return goodsPackMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateBatch(List<GoodsPack> list) {
        return goodsPackMapper.updateBatch(list);
    }

    @Override
    public int batchInsert(List<GoodsPack> list) {
        return goodsPackMapper.batchInsert(list);
    }

    @Override
    public int insertOrUpdate(GoodsPack record) {
        return goodsPackMapper.insertOrUpdate(record);
    }

    @Override
    public int insertOrUpdateSelective(GoodsPack record) {
        return goodsPackMapper.insertOrUpdateSelective(record);
    }

}
